package dao;

import bean.Comment;

import java.sql.SQLException;
import java.util.ArrayList;

public interface CommentDao {
    public boolean addComment(Comment comment);/*添加评论*/
    public ArrayList<Comment> getComments(int articleId) throws SQLException;/*获取所有评论*/
}
